(global.webpackJsonp = global.webpackJsonp || []).push([ [ "subpages/pages/invoice/add_rise" ], {
    3557: function(t, e, n) {
        n.d(e, "b", function() {
            return a;
        }), n.d(e, "c", function() {
            return o;
        }), n.d(e, "a", function() {});
        var a = function() {
            this.$createElement, this._self._c;
        }, o = [];
    },
    "5a07": function(t, e, n) {},
    bb3a: function(t, e, n) {
        n.r(e);
        var a = n("3557"), o = n("c7b8");
        for (var i in o) "default" !== i && function(t) {
            n.d(e, t, function() {
                return o[t];
            });
        }(i);
        n("d231");
        var r = n("f0c5"), c = Object(r.a)(o.default, a.b, a.c, !1, null, "306dae30", null, !1, a.a, void 0);
        e.default = c.exports;
    },
    c3b8: function(t, e, n) {
        (function(t) {
            function n(t, e, n) {
                return e in t ? Object.defineProperty(t, e, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : t[e] = n, t;
            }
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var a = {
                components: {},
                data: function() {
                    var t;
                    return {
                        form: (t = {
                            title: "",
                            title_type: "",
                            taxpayer_id: ""
                        }, n(t, "title_type", 0), n(t, "company_address", ""), n(t, "contact", ""), n(t, "deposit_bank", ""), 
                        n(t, "bank_id", ""), n(t, "taker_name", ""), n(t, "taker_phone", ""), n(t, "taker_address", ""), 
                        n(t, "taker_email", ""), n(t, "remarks", ""), t),
                        activeTab: 0,
                        ttType: 0,
                        openMore: !1,
                        defaultRegion: [ {
                            name: "北京市"
                        }, {
                            name: "北京市"
                        }, {
                            name: "东城区"
                        } ]
                    };
                },
                onLoad: function(t) {},
                methods: {
                    handleGetRegion: function(t) {
                        this.posForward = t[0].name + t[1].name + t[2].name, this.defaultRegion = t;
                    },
                    submit: function() {
                        this.form.title ? 1 != this.ttType || this.form.taxpayer_id ? (this.form.title_type = this.ttType, 
                        this.$api.addInvoiceTit(this.form, function(e) {
                            t.showToast({
                                title: e.msg,
                                duration: 2e3,
                                icon: "1" == e.code ? "success" : "none"
                            }), setTimeout(function() {
                                "1" == e.code && t.navigateBack();
                            }, 1500);
                        })) : t.showToast({
                            title: "请填写纳税人识别号",
                            duration: 2e3,
                            icon: "none"
                        }) : t.showToast({
                            title: "请填写发票抬头",
                            duration: 2e3,
                            icon: "none"
                        });
                    },
                    changeTT: function(t) {
                        this.ttType = t;
                    }
                }
            };
            e.default = a;
        }).call(this, n("543d").default);
    },
    c7b8: function(t, e, n) {
        n.r(e);
        var a = n("c3b8"), o = n.n(a);
        for (var i in a) "default" !== i && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(i);
        e.default = o.a;
    },
    d231: function(t, e, n) {
        var a = n("5a07");
        n.n(a).a;
    },
    f51a: function(t, e, n) {
        (function(t) {
            n("98af"), a(n("66fd"));
            var e = a(n("bb3a"));
            function a(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = n, t(e.default);
        }).call(this, n("543d").createPage);
    }
}, [ [ "f51a", "common/runtime", "common/vendor" ] ] ]);